package cn.wolfcode.rbac.mapper;

import cn.wolfcode.rbac.model.EmployeeRoleDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Lu.F
 * @since 2022-05-14
 */
@Mapper
public interface EmployeeRoleMapper extends BaseMapper<EmployeeRoleDO> {

    /**
     * 插入角色权限
     * @param empId
     * @param roleIds
     */
    void insertEmpRole(@Param("empId") Long empId, @Param("roleIds") Long[] roleIds);



}
